[IT] Map

Tuesday, 30 March 2021 09:32:11
Total Iterations

1

Total Assertions

13

Total Failed Tests

22

Total Skipped Tests

0


File Information
Collection: [IT] Map
Environment: Nightlies
Collection Description
``` Feature: maps The maps is a representation of crossings in a spatial way Scenario: Verify the map entry is present and correct Scenario: Verify the user can query clusters on map Scenario: Verify the user can get crossings from clusters Scenario: Verify the user cannot see other user with location hidden ```
Timings and Data
Total run duration: 1m 43.6s
Total data received: 3.94KB
Average response time: 3.6s
Summary Item Total Failed
Requests 28 0
Prerequest Scripts 66 0
Test Scripts 72 9
Assertions 13 13
Skipped Tests 0 -



Showing 22 Failures

Failed Test:

Assertion Error Message
Unexpected token '<' at 1:1
<html>
^
Failed Test:

Assertion Error Message
Unexpected token '<' at 1:1
<html>
^
Failed Test: User should be eligible to Suggested stack

Assertion Error Message
Unexpected token '<' at 1:1
<html>
^
Failed Test:

Assertion Error Message
Unexpected token '<' at 1:1
<html>
^
Failed Test:

Assertion Error Message
Unexpected token '<' at 1:1
<html>
^
Failed Test:

Assertion Error Message
Unexpected token '<' at 1:1
<html>
^
Failed Test: User should be eligible to Suggested stack

Assertion Error Message
Unexpected token '<' at 1:1
<html>
^
Failed Test:

Assertion Error Message
Unexpected token '<' at 1:1
<html>
^
Failed Test:

Assertion Error Message
Unexpected token '<' at 1:1
<html>
^
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 502
Failed Test: User A should have map stats

Assertion Error Message
Unexpected token '<' at 1:1
<html>
^
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 502
Failed Test: User A should have Clusters list

Assertion Error Message
Unexpected token '<' at 1:1
<html>
^
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 502
Failed Test:

Assertion Error Message
Unexpected token '<' at 1:1
<html>
^
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 502
Failed Test: User B should be in User A cluster crossings

Assertion Error Message
Unexpected token '<' at 1:1
<html>
^
Failed Test: users endpoint should return 200 when user update location_preferences

Assertion Error Message
expected response to have status code 200 but got 502
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 502
Failed Test: Status code is 200

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: User B should not be in User A cluster crossings

Assertion Error Message
Cannot read property 'some' of null


There are no skipped tests



1 Iteration available to view
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 15.4s
Mean size per request: 157B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token ea4006fa-3758-4fad-93d3-ffd67f999eb6
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:30:43 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 1022ms
Mean size per request: 157B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth=""
host varnish
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/json; charset=utf-8
User-Agent happn-test 1.10
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token 16cc21e8-b73a-4d91-a9a5-0dd276cbedaa
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 320
Request Body
{
            "type": "CLIENT",
            "login": "main.user_1617096643365A@example.com",
            "password": "00000000",
            "first_name": "Main user A",
            "last_name": "api",
            "birth_date": "1988-01-01",
            "gender": "female",
            "salt": "NotReallySecuredS4lt",
            "nickname": "postman.userA",
            "workplace": "Postman test"
        }
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:30:44 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 7.1s
Mean size per request: 157B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token 2c3301fc-09ff-42ec-8fbe-b164ba033046
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 227
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1617096643365A@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:30:51 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
No Tests for this request
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 1040ms
Mean size per request: 157B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="{{userAOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token f7043bfe-3c9a-4433-9dc9-38836f108bd0
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:30:52 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
NamePassedFailedSkipped
User should be eligible to Suggested stack 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
User should be eligible to Suggested stack
Unexpected token '<' at 1:1
        <html>
        ^
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=matching_preferences
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 7.1s
Mean size per request: 157B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="{{userAOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token eb53de17-1345-440a-bdb3-b896fcbb4400
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 72
Request Body
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:30:59 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/images
Response Information
Response Code: 403 - Forbidden
Mean time per request: 9ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/x-www-form-urlencoded
Authorization OAuth="{{userAOAuthToken}}"
User-Agent happn/2300 CFNetwork/897.15 Darwin/18.7.0
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token 4058585c-7bc4-4251-9b20-10dc8d6a380e
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 84
Request Body
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fmen%2F55.jpg"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 30 Mar 2021 09:30:59 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=profiles
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 3.1s
Mean size per request: 157B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="{{userAOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token 487c34bf-5d94-4646-8995-c4188934ab9b
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 233
Request Body
{
        	"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
        }
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:03 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/devices?type=ios&fields=id
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 1051ms
Mean size per request: 157B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="{{userAOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token f88299ad-fa31-4491-af42-b8dd3f36e4cd
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 42
Request Body
{
          "type": "ios",
          "app_build": "9999"
        }
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:04 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/position?type=ios
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 1021ms
Mean size per request: 157B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
X-Happn-DID {{userADeviceId}}
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="{{userAOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token 77c77add-2e28-4957-80d1-2863dd4c4db8
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 79
Request Body
{"latitude":13.60362003887272,"longitude":179.14490559485523,"country_id":"FR"}
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:05 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 1036ms
Mean size per request: 157B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token 1bfec4d5-e06d-4528-bd97-3e6464ef35ff
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:06 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 1044ms
Mean size per request: 157B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth=""
host varnish
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/json; charset=utf-8
User-Agent happn-test 1.10
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token 1ab35ac1-3bf1-4840-8f7b-a5b0acafbd8b
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 317
Request Body
{
            "type": "CLIENT",
            "login": "crossing1617096666322B@example.com",
            "password": "00000000",
            "first_name": "Crossing B",
            "last_name": "api",
            "birth_date": "1988-01-01",
            "gender": "female",
            "salt": "NotReallySecuredS4lt",
            "nickname": "postman.userB",
            "workplace": "Postman test"
        }
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:07 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 1038ms
Mean size per request: 157B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token 6f822c91-ea51-40a5-9afc-afcf5e71f939
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 225
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"crossing1617096666322B@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:08 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
No Tests for this request
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 3.1s
Mean size per request: 157B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="{{userBOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token f8e7b4c2-223a-43b8-886d-b1c20de412b7
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:11 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
NamePassedFailedSkipped
User should be eligible to Suggested stack 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
User should be eligible to Suggested stack
Unexpected token '<' at 1:1
        <html>
        ^
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=matching_preferences
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 1047ms
Mean size per request: 157B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="{{userBOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token 69c5dc89-a378-4ab9-bd06-d7115f727a7e
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 72
Request Body
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:12 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/images
Response Information
Response Code: 403 - Forbidden
Mean time per request: 7ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/x-www-form-urlencoded
Authorization OAuth="{{userBOAuthToken}}"
User-Agent happn/2300 CFNetwork/897.15 Darwin/18.7.0
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token 51205ca7-3214-4bab-8ee5-aff2d0d67752
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 84
Request Body
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fmen%2F35.jpg"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 30 Mar 2021 09:31:12 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=profiles
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 15.6s
Mean size per request: 157B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="{{userBOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token a5edd485-460f-49c5-b5cc-ab147d4148a8
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 233
Request Body
{
        	"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
        }
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:28 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/devices?type=ios&fields=id
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 1025ms
Mean size per request: 157B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="{{userBOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token ecaa4d0a-5216-4fef-8fb8-43bd18cbaa99
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 42
Request Body
{
          "type": "ios",
          "app_build": "9999"
        }
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:29 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/position?type=ios
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 1033ms
Mean size per request: 157B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
X-Happn-DID {{userBDeviceId}}
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="{{userBOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token 393d4f4c-4c27-4683-81ec-b77807310de9
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 79
Request Body
{"latitude":13.60362003887272,"longitude":179.14490559485523,"country_id":"FR"}
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:30 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
No Tests for this request
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 1058ms
Mean size per request: 157B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth="{{userAOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token fd7e7d64-9c26-4a66-9c21-11ffe7388725
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:31 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
No Tests for this request
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 1056ms
Mean size per request: 157B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="{{userAOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token af1ce132-2f46-4d3f-b170-b96063dd2301
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:32 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
User A should have map stats 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 502
User A should have map stats
Unexpected token '<' at 1:1
        <html>
        ^
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 1042ms
Mean size per request: 157B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="{{userAOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token 1510ca70-84e3-4b2f-a0ee-d20796248e6f
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:33 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
User A should have Clusters list 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 502
User A should have Clusters list
Unexpected token '<' at 1:1
        <html>
        ^
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 3.1s
Mean size per request: 157B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="{{userAOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token 3ba92b70-fae4-48c0-9aea-b9aad41d5ec8
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:36 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 502
Request Headers
Header NameHeader Value
Authorization OAuth="{{userAOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token 1be79aa7-0978-4321-a185-002d7c4fd085
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:38 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
User B should be in User A cluster crossings 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 502
User B should be in User A cluster crossings
Unexpected token '<' at 1:1
        <html>
        ^
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/%7B%7BuserBId%7D%7D?fields=location_preferences
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 1045ms
Mean size per request: 157B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="{{userBOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Content-Type application/json
Accept */*
Cache-Control no-cache
Postman-Token 92c2a57d-3c8a-4c6b-8236-693788cda37a
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 70
Request Body
{
            "location_preferences" : {
                "hide_location": true
            }
        }
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:31:39 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
NamePassedFailedSkipped
users endpoint should return 200 when user update location_preferences 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
users endpoint should return 200 when user update location_preferences
expected response to have status code 200 but got 502
Response Information
Response Code: 502 - Bad Gateway
Mean time per request: 31.7s
Mean size per request: 157B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="{{userAOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token c3482fc5-ae74-4792-91a5-cd1bf5c37b02
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:32:10 GMT
Content-Type text/html
Content-Length 157
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
<html>
        <head><title>502 Bad Gateway</title></head>
        <body>
        <center><h1>502 Bad Gateway</h1></center>
        <hr><center>nginx/1.19.8</center>
        </body>
        </html>
        
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 502
Request Headers
Header NameHeader Value
Authorization OAuth="{{userAOAuthToken}}"
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token 79661a7c-881c-4b40-8953-5bb33a631bb2
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:32:11 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 84
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":null,"error_code":1010}
Test Information
NamePassedFailedSkipped
Status code is 200 0 1 0
User B should not be in User A cluster crossings 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
Status code is 200
expected response to have status code 200 but got 403
User B should not be in User A cluster crossings
Cannot read property 'some' of null
Request Information
Request Method: DELETE
Request URL: http://varnish/api/users/%7B%7BuserAId%7D%7D?to_delete=true
Response Information
Response Code: 500 - Internal Server Error
Mean time per request: 62ms
Mean size per request: 97B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
CF-IPCountry FR
Cookie
Authorization OAuth=""
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token b89388a0-d988-49e4-bc50-736f2ab6f748
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:32:11 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 97
Connection keep-alive
Response Body
{"success":false,"status":500,"error":null,"data":{"message":"Application error"},"error_code":0}
Test Information
No Tests for this request
Request Information
Request Method: DELETE
Request URL: http://varnish/api/users/%7B%7BuserBId%7D%7D?to_delete=true
Response Information
Response Code: 500 - Internal Server Error
Mean time per request: 88ms
Mean size per request: 97B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
CF-IPCountry FR
Cookie
Authorization OAuth=""
User-Agent happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0
Accept */*
Cache-Control no-cache
Postman-Token 7fc9a3c7-96fa-435a-a13b-286519e46135
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 30 Mar 2021 09:32:11 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 97
Connection keep-alive
Response Body
{"success":false,"status":500,"error":null,"data":{"message":"Application error"},"error_code":0}
Test Information
No Tests for this request